<%-- 
    Document   : accueil
    Created on : 26 sept. 2012, 00:17:37
    Author     : Thomas
--%>


<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<c:import url="header.jsp"/>

<div id="header"><div id="visuel"><p>Gestion des colloques</p></div></div>
<div id="conteneur">

    <div id="contenu">

        <form	id="enrgresume" method="post" action="CreerExposeAnonyme" class="form-horizontal">
            <legend>Soumettre un Exposé</legend>

            <div class="control-group">
                <label class="control-label">Nom</label>
                <div class="controls"><input type="text" id="nom" name="nom" value="" required></div>
            </div>
            <div class="control-group">
                <label class="control-label">Prénom</label>
                <div class="controls"><input type="text" id="prenom" name="prenom" value="" required></div>
            </div>
            <div class="control-group" id="cgmail">
                <label class="control-label">Adresse Mail</label>
                <div class="controls"><input type="email" id="adrmail" name="adrmail" value="" onblur="javascript:IsExistMail(this.value)" required><div id="MailMessage"></div></div>
            </div>

            <div class="control-group">
                <label class="control-label">Institution</label>
                <div class="controls">
                    <select id="institution" name="institutionid" >
                        <option value="">  </option>
                        <c:forEach var="institut" items="${institutions}">
                            <option value="${institut.institutionid}">${institut.institutionlabel}</option>
                        </c:forEach>
                    </select>
                </div>
            </div>

            <div class="control-group">
                <label class="control-label">Thème Exposé ( 3 mots clés max)</label>
                <div class="controls">
                    
                        <!--  Generer un java pour chaque valeur du option-->
                        
                        <c:forEach var="motcle1" items="${colloque.motcles}">
                            <label class="checkbox inline"> <input class="check" type="checkbox" value="${motcle1.motcleid}" name="mc1" onclick="javascript:clicCB();">${motcle1.motclelabel}</input></label>
                        </c:forEach>
                    

                    
                </div></div>


            <div class="control-group">
                <label class="control-label">Résumé de l'exposé</label>
                <div class="controls"><TEXTAREA Name="resume" rows="5" style="width:400px" required></TEXTAREA></div>
            </div>
            
            <div class="control-group">
                <label class="control-label">Mot de passe</label>
                <div class="controls"><input type="password" id="motpasse" name="motpasse" value="" required></div>
            </div>
            <div class="form-actions">
                <input type="submit" value="Enregistrer" class="btn btn-primary" />
            </div>
            <input type="hidden" name="colloqueid" value="<c:out value="${colloque.colloqueid}"/>"/>
        </form>


    </div>
</div>


<c:import url="footer.jsp"/>

